<template>
  <div class="notFound">
    <div class="content">
      <a-result status="404" subtitle="not found">
        <template #extra>
          <a-button key="back" type="primary" @click="back"> back </a-button>
        </template>
      </a-result>
      <!-- <div class="operation-row">
       
      </div> -->
    </div>
  </div>
</template>

<script setup>
import { useRouter } from "vue-router";
import { BASEHOE } from "@/config.js";

const router = useRouter();
const back = () => {
  // warning： Go to the node that has the permission
  router.push({ path: BASEHOE });
};
</script>

<style lang="less" scoped>
.notFound {
  position: relative;
  height: 100%;
  background-color: var(--color-bg-1);
}
.content {
  // padding-top: 100px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
</style>
